public class TestStatic {
    int id;     //id
    String name;    //账户名
    static String slogan = "多读书多看报。";   //座右铭


    public static void printSlogan(){   //打印座右铭
        System.out.println(slogan);
    }

    public static void main(String[] args){
        TestStatic P1 = new TestStatic();
        TestStatic.printSlogan();
        TestStatic.slogan = "我爱洗澡皮肤好好！";
        TestStatic.printSlogan();
    }
}
